home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Install_UXFormats V1.0 (5.10.97)
- ; © 1997 by Andreas R. Kleinert.
- ; This is the Installer Script for the UX format collection
-
- (set #cpu (database "cpu")) (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu "68060") )
- (set #ppc_cpu "none") (if (> (exists ("sys:libs/ppc.library")) 0) (set #ppc_cpu "PPC60x") )
- (if (> (exists ("sys:libs/PowerPC.library")) 0) (set #ppc_cpu "PPC60x") )
-
- (set #ppc_cpu "PPC60x")
-
- (if (= #ppc_cpu "PPC60x")
- (
- (message (cat "\nWhen using SuperView-Libraries' PPC-Modules, make\n"
- "sure, that you don't have powerpc.library V12+\n"
- "installed together with ppc.library.\n\n"
- "Powerpc.library V7 will work, though.")
- )
- )
- )
-
- (set svlibdir
- (askdir
- (prompt "Library Path")
- (help @askdir-help)
- (newpath)
- (default "LIBS:")
- )
- )
-
- (makedir (tackon svlibdir "svobjects"))
-
- (copyfiles
- (prompt "Installing modules to LIBS:svobjects ...")
- (help @copyfiles-help)
- (source "libs/svobjects")
- (dest (tackon svlibdir "svobjects"))
- (pattern "#?.svobject")
- (files)
- )
-
- (if (>= #cpu 68020)
- (
- (copyfiles
- (prompt "Installing 020+ modules to LIBS:svobjects ...")
- (help @copyfiles-help)
- (source "libs/68030")
- (dest #svlibdir)
- (confirm)
- (all)
- )
- )
- )
-